<include file="public:top"/>
<div class="container">
	<div class="maincontent">
		<h3 class="pull-left">
			<i class="glyphicon glyphicon-book"></i>
			班级动态<small>Class dynamics</small>
		</h3>
		<notempty name="isHasInsert">
			<div class="pull-right addButton">
				<a href="Mcontent_add">
		    	    添加动态
		    	</a>
			</div>
		</notempty>
		<div class="clear"></div>
		<div class='hr'></div>
		<div class="row row-space">
			<div class="col-md-4">
				<div><include file="public:left"/></div>
			</div>
			<div class="col-md-8">
				<volist name="list" id="vo">
				<div class="contentPadding">
				    <div class="pull-left">
						<span class="numberTitle">
							{{$key+1}}
						</span>
						<a href="<?php echo Url::moveDetail($vo['m_id'])?>">
							{{$vo.m_title}}
						</a>
					</div>
					<!--删除-->
					<notempty name="isHasDelete">
						<div class="pull-right deleteMar">
							<a href="del/mid/{{$vo.m_id}}" class="glyphicon glyphicon-trash"></a>
						</div>
					</notempty>
					<!--时间-->
					<div class="pull-right dateTime">
						{{$vo.m_date|date="Y-m-d",###}}
					</div>
					<div class="clear"></div>
				</div>
				<div class="hr"></div>
				</volist>
				<empty name='list'>
					<h5>亲，去创建第一条动态吧！</h5>
				</empty>
				<p>{{$page}} </p>
			</div>
		</div>
	</div>
</div>
<include file="public:footer"/>
